using System.Collections;
using System.Collections.Generic;
using NHibernate;

namespace EventApp.Lib.Repository
{
    public interface IDataRepository<T>
    {
        void Add(T itemToSave);
        void Delete(T itemToDelete);
        IList GetMulti(ICriteria criteria);

         void BeginTransaction();
         void CommitTransaction();
         void RollBackTransaction();
    }
}